<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2022/5/7
  Time: 21:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery-1.11.1-min.js"></script>
    <script type="text/javascript">
        $(function () {
            //给下载添加点击事件
            $("#files").click(function () {
                //发送文件下载的请求
                window.location.href="${pageContext.request.contextPath}/workbench/fileDownload"
            })
        });
    </script>
</head>
<body>
    <input type="button" value="文件下载" id="files">
</body>
</html>
